package com.tjtt.tdm.system.bean;


import java.sql.Timestamp;
import java.util.Date;


/**
 * 
 * 
 * 用户表
 * @author liangjy
 */

public abstract class AbstractUsers implements java.io.Serializable {

	// Fields
	private static final long serialVersionUID = 1L;
	private Long userid;
	private Role role; 
	private String loginname;
	private String psw;
	private Long active;            //状态：有效、外出试验
	private String username;
	private String fixedPhone;
	private String mobile;
	private String email;
	private String userdesc;  
	private Long securityClass;     //密级：4-机密；3-秘密；2-内部；1-非密
	private Organization organization;
	private String delFlag;
	private String lockFlag;    //账户是否被锁定，0：未锁定，1：锁定
	private Date lockTime;      //账户锁定开始时间
	private Date pwdEditTime;   //密码修改时间
	private Long sex;
	private String companyTel;
	private String address;
	
	private String imgPath;   //头像存放位置
	private String signPath;  //电子签名存放地址
	private String imgAddress; //头像载入地址
	private String signAddress; //电子签名载入地址
	private String stampPath;   //印章存放位置
	private String stampAddress;  //印章载入地址
	private String certificatePath; //证书存放位置
	private String certificateAddress; //证书载入地址
	private Long pwdFailCount; //密码失败次数
	private Date loginTime;   //最后一次登录时间
	private String jobName; //岗位名称
	
	private Timestamp entryDate;   //入职时间
	private Long workYears;  //工作年限
	private String yourMajor; //所学专业
	private Long age; //年龄
	private Long xueliid;
	private String xueliname;
	private Long zhiwuid;
	private String zhiwuname;
	private Long zhichengid;
	private String zhichengname;
	private Long shemidjid;
	private String shemidjname;
	// Constructors

	public String getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

	public Organization getOrganization() {
		return organization;
	}

	public void setOrganization(Organization organization) {
		this.organization = organization;
	}

	/** default constructor */
	public AbstractUsers() {
	}

	/** minimal constructor */
	public AbstractUsers(Long userid) {
		this.userid = userid;
	}

	/** full constructor */
	public AbstractUsers(Long userid, Role role, String loginname,
			String psw, Long active, String username, String fixedPhone,
			String mobile, String email, String userdesc, Long securityClass,
			Organization organization,String delFlag,String lockFlag,
			Date lockTime,Date pwdEditTime,Long sex,String companyTel,
			String address,String imgPath,String signPath,
			String imgAddress,String signAddress,String stampPath,
			String stampAddress,String certificatePath,String certificateAddress,Long pwdFailCount,
			Date loginTime,String jobName) {
		this.userid = userid;
		this.role = role; 
		this.loginname = loginname;
		this.psw = psw;
		this.active = active;
		this.username = username;
		this.fixedPhone = fixedPhone;
		this.mobile = mobile;
		this.email = email;
		this.userdesc = userdesc;
		this.securityClass = securityClass;
		this.organization = organization;
		this.delFlag = delFlag;
		this.lockFlag = lockFlag;
		this.lockTime = lockTime;
		this.pwdEditTime = pwdEditTime;
		this.sex = sex;
		this.companyTel = companyTel;
		this.address = address;
		
		this.imgPath = imgPath;
		this.signPath = signPath;
		this.imgAddress = imgAddress;
		this.signAddress = signAddress;
		this.stampPath = stampPath;
		this.stampAddress = stampAddress;
		this.certificatePath = certificatePath;
		this.certificateAddress = certificateAddress;
		this.pwdFailCount = pwdFailCount;
		this.loginTime = loginTime;
		this.jobName = jobName;
	}

	// Property accessors

	public Long getUserid() {
		return this.userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public Role getRole() {
		return this.role;
	}

	public void setRole(Role role) {
		this.role = role;
	}

	public String getLoginname() {
		return this.loginname;
	}

	public void setLoginname(String loginname) {
		this.loginname = loginname;
	}

	public String getPsw() {
		return this.psw;
	}

	public void setPsw(String psw) {
		this.psw = psw;
	}

	public Long getActive() {
		return this.active;
	}

	public void setActive(Long active) {
		this.active = active;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getFixedPhone() {
		return this.fixedPhone;
	}

	public void setFixedPhone(String fixedPhone) {
		this.fixedPhone = fixedPhone;
	}

	public String getMobile() {
		return this.mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getUserdesc() {
		return this.userdesc;
	}

	public void setUserdesc(String userdesc) {
		this.userdesc = userdesc;
	}

	public Long getSecurityClass() {
		return this.securityClass;
	}

	public void setSecurityClass(Long securityClass) {
		this.securityClass = securityClass;
	}

	public String getLockFlag() {
		return lockFlag;
	}

	public void setLockFlag(String lockFlag) {
		this.lockFlag = lockFlag;
	}

	public Date getLockTime() {
		return lockTime;
	}

	public void setLockTime(Date lockTime) {
		this.lockTime = lockTime;
	}

	public Date getPwdEditTime() {
		return pwdEditTime;
	}

	public void setPwdEditTime(Date pwdEditTime) {
		this.pwdEditTime = pwdEditTime;
	}

	public Long getSex() {
		return sex;
	}

	public void setSex(Long sex) {
		this.sex = sex;
	}

	public String getCompanyTel() {
		return companyTel;
	}

	public void setCompanyTel(String companyTel) {
		this.companyTel = companyTel;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}


	public String getImgPath() {
		return imgPath;
	}

	public void setImgPath(String imgPath) {
		this.imgPath = imgPath;
	}

	public String getSignPath() {
		return signPath;
	}

	public void setSignPath(String signPath) {
		this.signPath = signPath;
	}

	public String getImgAddress() {
		return imgAddress;
	}

	public void setImgAddress(String imgAddress) {
		this.imgAddress = imgAddress;
	}

	public String getSignAddress() {
		return signAddress;
	}

	public void setSignAddress(String signAddress) {
		this.signAddress = signAddress;
	}

	public Long getPwdFailCount() {
		return pwdFailCount;
	}

	public void setPwdFailCount(Long pwdFailCount) {
		this.pwdFailCount = pwdFailCount;
	}

	public Date getLoginTime() {
		return loginTime;
	}

	public void setLoginTime(Date loginTime) {
		this.loginTime = loginTime;
	}

	public String getJobName() {
		return jobName;
	}

	public void setJobName(String jobName) {
		this.jobName = jobName;
	}

	public String getStampPath() {
		return stampPath;
	}

	public void setStampPath(String stampPath) {
		this.stampPath = stampPath;
	}

	public String getStampAddress() {
		return stampAddress;
	}

	public void setStampAddress(String stampAddress) {
		this.stampAddress = stampAddress;
	}

	public String getCertificatePath() {
		return certificatePath;
	}

	public void setCertificatePath(String certificatePath) {
		this.certificatePath = certificatePath;
	}

	public String getCertificateAddress() {
		return certificateAddress;
	}

	public void setCertificateAddress(String certificateAddress) {
		this.certificateAddress = certificateAddress;
	}

	public Timestamp getEntryDate() {
		return entryDate;
	}

	public void setEntryDate(Timestamp entryDate) {
		this.entryDate = entryDate;
	}

	public Long getWorkYears() {
		return workYears;
	}

	public void setWorkYears(Long workYears) {
		this.workYears = workYears;
	}

	public String getYourMajor() {
		return yourMajor;
	}

	public void setYourMajor(String yourMajor) {
		this.yourMajor = yourMajor;
	}

	public Long getAge() {
		return age;
	}

	public void setAge(Long age) {
		this.age = age;
	}

	
	public String getXueliname() {
		return xueliname;
	}

	public void setXueliname(String xueliname) {
		this.xueliname = xueliname;
	}

	
	public String getZhiwuname() {
		return zhiwuname;
	}

	public void setZhiwuname(String zhiwuname) {
		this.zhiwuname = zhiwuname;
	}

	
	public String getZhichengname() {
		return zhichengname;
	}

	public void setZhichengname(String zhichengname) {
		this.zhichengname = zhichengname;
	}

	

	public Long getXueliid() {
		return xueliid;
	}

	public void setXueliid(Long xueliid) {
		this.xueliid = xueliid;
	}

	public Long getZhiwuid() {
		return zhiwuid;
	}

	public void setZhiwuid(Long zhiwuid) {
		this.zhiwuid = zhiwuid;
	}

	public Long getZhichengid() {
		return zhichengid;
	}

	public void setZhichengid(Long zhichengid) {
		this.zhichengid = zhichengid;
	}

	public Long getShemidjid() {
		return shemidjid;
	}

	public void setShemidjid(Long shemidjid) {
		this.shemidjid = shemidjid;
	}

	public String getShemidjname() {
		return shemidjname;
	}

	public void setShemidjname(String shemidjname) {
		this.shemidjname = shemidjname;
	}

	
}